#include <flipper.h>

LF_MODULE(_{{name}}, "{{name}}", "{{description}}", NULL, NULL);

const struct _{{name}}_interface {{name}} {
    {{struct_expansion funcs name}}
};
{{#each funcs}}
LF_WEAK {{ret}} {{../name}}_{{name}}({{param_expansion params}}) {
    {{ret}} result = lf_invoke(&_{{../name}}, _{{../name}}_{{name}}, {{ret_fmr}}, lf_args({{fmr_expansion params}}));
}
{{/each}}